how to use interfaces in c